const express = require('express')
const router = express.Router()
const food_handler = require('../router_handler/food')
const bodyParser = require('body-parser')
const jsonParser = bodyParser.json()


router.get('/food', food_handler.getFood)

router.post('/preupdateindex',jsonParser,food_handler.preupdateindex)
// router.post('/updatefood',food_handler.updatefood)

module.exports =router